package com.learn.testReflect;

public class Person implements MyInterface,Comparable<String>{

    public int age;
    private String sex;
    String name;

    public Person(){

    }

    public Person(String name){
        this.name = name;
    }

    private Person(int age,String sex,String name){
        this.age = age;
        this.sex = sex;
        this.name = name;
    }

    public void show(int age){
        System.out.println(age);
    }

    private void showIn(int age){
        System.out.println(age);
    }

    public void testInter() {
        System.out.println("这是接口");
    }

    public int compareTo(String o) {
        return 0;
    }
}
